﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace TestMonopoly
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void GooiDobbelsteen()
        {
            Console.WriteLine();
        }
    }

    public class Dobbelspel
    {
        private int _steen1;
        private int _steen2;
        private int _totaalAantalOgen;

        readonly Random _random = new Random();
        private int _aantalOgen;

        public void Gooi()
        {
            _aantalOgen = _random.Next(1, 6);
            _steen1 = _aantalOgen;
            _aantalOgen = _random.Next(1, 6);
            _steen2 = _aantalOgen;
        }
        public bool Dubbel()
        {
            return _steen1 == _steen2;
        }
        public int GetTotaalAantalOgen()
        {
            _totaalAantalOgen = _steen1 + _steen2;
            return _totaalAantalOgen;
        }

    }

}
